package cn.edu.whpu.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @program: whpuenvmonitor
 * @description:
 * @author: Mr.Dai
 * @create: 2019-12-12 19:44
 **/
@RestController
public class IndexController {

    /**
     * 首页映射
     * @return
     */
    @GetMapping("/index")
    public ModelAndView index(){
        return new ModelAndView("index");
    }
}
